package com.cupk.dtos;

import lombok.Data;
import jakarta.validation.constraints.Size;
import java.time.LocalDate;

/**
 * 更新任务请求DTO
 */
@Data
public class UpdateTaskRequest {
    
    @Size(max = 200, message = "任务标题不能超过200个字符")
    private String title;
    
    @Size(max = 1000, message = "任务描述不能超过1000个字符")
    private String description;
    
    private Long projectId;
    
    private String priority; // HIGH, MEDIUM, LOW, URGENT
    
    private String status; // TODO, IN_PROGRESS, COMPLETED, CANCELLED
    
    private Long assigneeId;
    
    private LocalDate dueDate;
}
